package com.wondersgroup.fjzlpt.gateway.feign;

import com.alibaba.fastjson.JSONObject;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Created by lion on 2017/6/16.
 */
@FeignClient("${cert.CertServiceId}")
public interface CertService {

    String ROOT = "/cert";

    @RequestMapping(method = { RequestMethod.POST }, value = ROOT + "/doCert")
    public JSONObject doCert(JSONObject json);
}
